package com.v5ba.sms.auto.handler;

import com.v5ba.common.sms.properties.SmsProperties;
import com.v5ba.common.sms.service.SmsService;

public class SmsServiceImpl implements SmsService {
    private SmsProperties smsProperties;

    public SmsServiceImpl(SmsProperties smsProperties){
        this.smsProperties = smsProperties;
    }

    @Override
    public void send(String phone, String text) {
        System.out.println(smsProperties.getUserName());
    }
}
